package app;

import org.jdbi.v3.core.config.ConfigRegistry;
import org.jdbi.v3.core.statement.StatementContext;
import org.jdbi.v3.core.statement.TemplateEngine;

import java.util.Optional;
import java.util.function.Function;

public class NoTemplateEngine implements TemplateEngine {
    @Override
    public String render(String template, StatementContext ctx) {
        return null;
    }

    @Override
    public Optional<Function<StatementContext, String>> parse(String template, ConfigRegistry config) {
        return TemplateEngine.super.parse(template, config);
    }
}
